package com.ljxt.dt.vo.purchasingmanagement;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author 徐浩钦
 * @version 1.0.0
 * @date 2020/5/16 20:35
 * @copyright 老九学堂T11
 */
public class PurchaseDetailInfoVO {
    // 查询 采购订单 cgdd，商品id spid，种类数量 zlgs，统计数量 tjsl，金额小计的值 jexj
    /**
     * 关联的采购订单
     */
    private String cgdd;
    /**
     * 物品id
     */
    private String spid;
    /**
     * 种类数量
     */
    private String zlgs;
    /**
     * 统计数量
     */
    private String tjsl;
    /**
     * 金额小计
     */
    private String jexj;

    // 采购物品名称 cgwp，计量单位 jldw，商品属性 spsx，采购数量 cgsj，采购单价 cgdj

    /**
     * 采购物品名称
     */
    private String cgwp;
    /**
     * 计量单位
     */
    private String jldw;

    private List<Map<String,Object>> list = new ArrayList<>();




    public String getCgdd() {
        return cgdd;
    }

    public void setCgdd(String cgdd) {
        this.cgdd = cgdd;
    }

    public String getSpid() {
        return spid;
    }

    public void setSpid(String spid) {
        this.spid = spid;
    }

    public String getZlgs() {
        return zlgs;
    }

    public void setZlgs(String zlgs) {
        this.zlgs = zlgs;
    }

    public String getTjsl() {
        return tjsl;
    }

    public void setTjsl(String tjsl) {
        this.tjsl = tjsl;
    }

    public String getJexj() {
        return jexj;
    }

    public void setJexj(String jexj) {
        this.jexj = jexj;
    }

    public String getCgwp() {
        return cgwp;
    }

    public void setCgwp(String cgwp) {
        this.cgwp = cgwp;
    }

    public String getJldw() {
        return jldw;
    }

    public void setJldw(String jldw) {
        this.jldw = jldw;
    }

    public List<Map<String, Object>> getList() {
        return list;
    }

    public void setList(List<Map<String, Object>> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "PurchaseDetailInfoVO{" +
                "cgdd='" + cgdd + '\'' +
                ", spid='" + spid + '\'' +
                ", zlgs='" + zlgs + '\'' +
                ", tjsl='" + tjsl + '\'' +
                ", jexj='" + jexj + '\'' +
                ", cgwp='" + cgwp + '\'' +
                ", jldw='" + jldw + '\'' +
                ", list=" + list +
                '}';
    }
}
